<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="../common.jsp" %>
<script type="text/javascript">
	$(document).ready(function(){		
		setWorkFlowURL('<c:out value="${flowExecutionUrl}" />');
// 		showDocumentLookUpDialog();
// 		setRequestingPageForDocLookup('restricted');
		updateDocumentLookupFilters('activationDeactivation');
	});
</script>
<style type="text/css">
	.activateButton{
		color: #FFFFFF;
/* 		background-image: url("../Icons/BlueLotus_DMS_icons-42.png"); */
		background-color: green;
		border-spacing: 0px;
		text-align: center;
		font-family: verdana;
	 	font-size: 12px !important;
	}
	.deactivateButton {
		color: #FFFFFF;
/* 		background-image: url("../Icons/BlueLotus_DMS_icons-42.png"); */
		background-color: red;
		border-spacing: 0px;
		text-align: center;
		font-family: verdana;
	 	font-size: 12px !important;
	}
</style>
<div style="width: 95%; margin: auto;">
	<table>
		<tr>
			<td> 
				<button class="formButton ui-corner-all" type="button" onclick="javascript:setRequestingPageForDocLookup('restricted');">
					<img alt="" height="15" src='<c:url value="/customTheme/Icons/BlueLotus_DMS_icons-11.png" />'> &nbsp; DOCUMENT LOOKUP
				</button>
			</td>
		</tr>
	</table>
	
	<br/>
	
	<table class="viewDetails">
		<tr class="heading">
			<th>Name</th>
			<th>Type</th>
			<th>Category</th>
			<th>Sub Category<input type="hidden" id="searchDocId" name="searchDocId"></input></th>
			<th>Activate</th>
			<th>Deactivate</th>
<!-- 			<th>Search Document</th> -->
		</tr>
		<tr class="even">
			<td>
				<input type="text" id="searchedDocName" name="searchedDocName" readonly="readonly" class="input disableInputField"></input>
				
			</td>
			<td>
				<input type="text" id="searchDocTypeID" name="docTypeID" readonly="readonly" class="input disableInputField"></input>
			</td>
			<td>
				<input type="text" id="searchDocCatID" name="docCatID" readonly="readonly" class="input  disableInputField"></input>
			</td>
			<td>
				<input type="text" id="searchDocSubCatID" name="docSubCatID" readonly="readonly" class="input  disableInputField"></input>
			</td>
			<td>
				<input type="button" value="ACTIVATE" onclick="javascript:viewDocument()" class="activateButton" id="activateButton"></input>
			</td>	
			<td align="center">
				<input type="button" value="DEACTIVATE" onclick="javascript:viewDocument()" class="deactivateButton" id="deActivateButton"></input>
				
				<%-- <img alt="" height="40" src="<c:url value="/search.png"></c:url>" onclick="javascript:viewDocument()"> --%>
			</td>		
			<%-- <td align="center">
				<!-- <input type="button" value="Document Search" onclick="javascript:showDocumentLookUpDialog()"></input> -->
				<img alt=""  src='<c:url value="/customTheme/Icons/BlueLotus_DMS_icons-30.png" />' onclick="javascript:showDocumentLookUpDialog()" >
				<br>&nbsp;<label style="font-size: 0.6em;"> Document Lookup </label>
			</td> --%>
		</tr>
	</table>
</div>

